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 mark.d.rus
in iscsid. This should still support CEE when run on kernels that
do not support IEEE.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
usr/dcb_app.c | 201 +++--
usr/dcb_app.h | 17 +++--
usr/dcbnl.h | 110
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 ross.b.bratt...@intel.com
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
usr/dcb_app.c | 201
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 mark.d.rus...@intel.com
Tested-by: Ross Brattain ross.b.bratt...@intel.com
---
usr/io.c |2 +-
1 files changed, 1
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 mark.d.rus...@intel.com
---
include/scsi/iscsi_proto.h | 21
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 mark.d.rus...@intel.com
Tested-by: Ross Brattain ross.b.bratt...@intel.com
---
usr/io.c |2 +-
1 files changed, 1
from being set.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
Tested-by: Ross Brattain ross.b.bratt...@intel.com
---
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
from being set.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
Tested-by: Ross Brattain ross.b.bratt...@intel.com
---
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
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
Add const to some char * parameters that are not changed by the called
routine.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
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
Add functions to obtain application priority mask from DCB in the kernel.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
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 mark.d.rus...@intel.com
---
usr/Makefile |4 +-
usr/io.c | 120
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 mark.d.rus...@intel.com
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
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 mark.d.rus...@intel.com
---
usr/Makefile |4 ++
usr/io.c | 104
Add header file with prototypes for functions in dcb_app.c.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
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
Add header file with prototypes for functions in dcb_app.c.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
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
Add functions to obtain application priority mask from DCB in the kernel.
Signed-off-by: Mark Rustad mark.d.rus...@intel.com
---
usr/dcb_app.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 usr/dcb_app.c
18 matches
Mail list logo