When net_prio cgroups are in use, let the priority be controlled by that
mechanism, since it can handle changes dynamically, as opposed to the
current method used with DCB. Continue to use the current DCB method
when net_prio cgroups are not present.
Signed-off-by: Mark Rustad
---
usr/dcb_app.c
in iscsid. This should still support CEE when run on kernels that
do not support IEEE.
Signed-off-by: Mark Rustad
---
usr/dcb_app.c | 201 +++--
usr/dcb_app.h | 17 +++--
usr/dcbnl.h | 110 ++-
usr/io.c
in iscsid. This should still support CEE when run on kernels that
do not support IEEE.
v2: Add omitted Tested-by credit.
Tested-by: Ross Brattain
Signed-off-by: Mark Rustad
---
usr/dcb_app.c | 201 +++--
usr/dcb_app.h | 17 +++--
usr
Unsigned serial number comparison is very simple if you simply put the
difference into a signed integer of the same size and then compare that
value with zero. All the complexity and confusion fall away.
Signed-off-by: Mark Rustad
---
include/scsi/iscsi_proto.h | 21 -
1
The variable len in iscsi_io_tcp_poll is initialized in its declaration, but
also initialized before use. Remove the initialization in the declaration.
Signed-off-by: Mark Rustad
Tested-by: Ross Brattain
---
usr/io.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr
The variable len in iscsi_io_tcp_poll is initialized in its declaration, but
also initialized before use. Remove the initialization in the declaration.
Signed-off-by: Mark Rustad
Tested-by: Ross Brattain
---
usr/io.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr
from being set.
Signed-off-by: Mark Rustad
Tested-by: Ross Brattain
---
usr/io.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/io.c b/usr/io.c
index 7d366c7..28d9168 100644
--- a/usr/io.c
+++ b/usr/io.c
@@ -470,7 +470,7 @@ iscsi_io_tcp_poll(iscsi_conn_t *conn, int
from being set.
Signed-off-by: Mark Rustad
Tested-by: Ross Brattain
---
usr/io.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/io.c b/usr/io.c
index 7d366c7..28d9168 100644
--- a/usr/io.c
+++ b/usr/io.c
@@ -470,7 +470,7 @@ iscsi_io_tcp_poll(iscsi_conn_t *conn, int
from being set.
Signed-off-by: Mark Rustad
Tested-by: Ross Brattain
---
usr/io.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/io.c b/usr/io.c
index 7d366c7..28d9168 100644
--- a/usr/io.c
+++ b/usr/io.c
@@ -470,7 +470,7 @@ iscsi_io_tcp_poll(iscsi_conn_t *conn, int
Add support for setting priorities provided by DCB in the kernel. This
implementation does not track any priority changes which could occur
over time.
Signed-off-by: Mark Rustad
---
usr/Makefile |4 +-
usr/io.c | 120 +-
2 files
Add functions to obtain application priority mask from DCB in the kernel.
Signed-off-by: Mark Rustad
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
diff --git a/usr
Add header file with prototypes for functions in dcb_app.c.
Signed-off-by: Mark Rustad
---
usr/dcb_app.h | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.h
diff --git a/usr/dcb_app.h b/usr/dcb_app.h
new file mode
Add const to some char * parameters that are not changed by the called
routine.
Signed-off-by: Mark Rustad
---
usr/sysfs.c |4 ++--
usr/sysfs.h |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/usr/sysfs.c b/usr/sysfs.c
index 8c176f0..cb9cf08 100644
--- a/usr
Removed a log_debug left over from testing
Check the return on setsockopt and warn if it fails
Added socket number to debug message
Consistently return negative error code from get_link_ifname
---
Mark Rustad (4):
Add some consts to char * parameters that are
Add header file with prototypes for functions in dcb_app.c.
Signed-off-by: Mark Rustad
---
usr/dcb_app.h | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.h
diff --git a/usr/dcb_app.h b/usr/dcb_app.h
new file mode
Add support for setting priorities provided by DCB in the kernel. This
implementation does not track any priority changes which could occur
over time.
Signed-off-by: Mark Rustad
---
usr/Makefile |4 ++
usr/io.c | 104 +-
2 files
Add functions to obtain application priority mask from DCB in the kernel.
Signed-off-by: Mark Rustad
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
diff --git a/usr
not bound to a specific netdev
---
Mark Rustad (3):
Add dcb_app.h for DCB support
Add dcb_app.c for DCB support
Add initial DCB support
usr/Makefile |4 +
usr/dcb_app.c | 246 +
usr/dcb_app.h | 34
usr
Add functions to obtain application priority mask from DCB in the kernel.
Signed-off-by: Mark Rustad
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
diff --git a/usr
Add header file with prototypes for functions in dcb_app.c.
Signed-off-by: Mark Rustad
---
usr/dcb_app.h | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.h
diff --git a/usr/dcb_app.h b/usr/dcb_app.h
new file mode
Add support for setting priorities provided by DCB in the kernel. This
implementation does not track any priority changes which could occur
over time.
Signed-off-by: Mark Rustad
---
usr/Makefile |4 +++-
usr/io.c | 44
2 files changed, 47
dynamically if the DCB application
mask changes over time unless the connection is reestablished. This
patch series also does nothing to add DCB support for iSNS.
---
Mark Rustad (3):
Add dcb_app.h for DCB support
Add dcb_app.c for DCB support
Add initial DCB support
usr
22 matches
Mail list logo